#include <getopt.h>
#include <stdio.h>

#include "../getopt_helper.h"

static struct option const LONG_OPTIONS[] = { GETOPT_END_DECL };

#define NFORMAT 2
const char usage_str[] =
    "Usage: %s [STRING]...\n"
    "  or:  %s OPTION\n"
    "Repeatedly output a line with all specified STRING(s), or 'y'.\n"
    "\n"
    "      --help     display this help and exit\n"
    "      --version  output version information and exit";

int
main(int argc, char *argv[])
{
	int ch;
	while ((ch = getopt_long(argc, argv, "", LONG_OPTIONS, NULL)) != -1) {
		switch (ch) {
			GETOPT_END_CASE
		}
	}

	if (argv[optind])
		for (;;)
			puts(argv[optind]);
	else
		for (;;)
			puts("y");

	return 0;
}
